package com.quanyan.activity.mapper;

import com.quanyan.activity.entity.db.TbActivityFavorite;
import com.quanyan.activity.entity.db.TbActivityFavoriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbActivityFavoriteMapper {
    int countByExample(TbActivityFavoriteExample example);

    int deleteByExample(TbActivityFavoriteExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbActivityFavorite record);

    int insertSelective(TbActivityFavorite record);

    List<TbActivityFavorite> selectByExample(TbActivityFavoriteExample example);

    TbActivityFavorite selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbActivityFavorite record, @Param("example") TbActivityFavoriteExample example);

    int updateByExample(@Param("record") TbActivityFavorite record, @Param("example") TbActivityFavoriteExample example);

    int updateByPrimaryKeySelective(TbActivityFavorite record);

    int updateByPrimaryKey(TbActivityFavorite record);
}